package org.m.demo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
//批量读取
@Data
@Component
@ConfigurationProperties(prefix = "student1")
public class student {
    private Integer id;
    private String name;
    private String password;
    private Double weight;
    private String[] loves;

}
